﻿using CPF.Linux;
using CPF.Platform;
using CPF.Skia;
using CPF.Windows;

namespace Demo
{
    class Program
    {
        [STAThread]
        static void Main(string[] args)
        {
            //改成true，文字就清晰
            Application.Initialize(
                (OperatingSystemType.Windows, new WindowsPlatform(true), new SkiaDrawingFactory() { ClearType = true })
            //, (OperatingSystemType.OSX, new MacPlatform(true), new SkiaDrawingFactory())//如果需要支持Mac才需要
            , (OperatingSystemType.Linux, new LinuxPlatform(), new SkiaDrawingFactory() { ClearType = true })//如果需要支持Linux才需要
            );
            Application.Run(new Window1());
        }
    }
}
